Zend is Framework.
We have used varsion 1.10.

Zend Follows MVC architecture

M Model
V View
C Controller

Q. What is Model ?
A. Model represents Database.

Q. What is controller ?
A. Controller is Bridge between
   Model and View.

Q. What is View ?
A. View represent HTML, what we want to show user.

Points to remember :-

Model is always "Singular".Because one Model represent one Database table.

Controller is "Plural" because one controller can contain more then one object.

Name of database table should be plural.Because one database table can contain more then one record.


Model       = BUSINESS LOGIC
View        = PRESENTATION LOGIC
Controller  = APPLICATION LOGIC


---------------------------------
MVC FOLLOWS Approach:
"FAT MODEL, SKINNY CONTROLLER"

FAT MODEL => Most of the code on MODEL

SKINNY CONTROLLER => lesser code in controller
---------------------------------
Why ? FAT MODEL, SKINNY CONTROLLER ...

Because Of dependency Graph:-

VIEW
CONTROLLER
MODEL
LIBRARY

VIEW depends on CONTROLLER depends on MODEL depends on LIBRARY

So if we put "Commmon Code" of business Logic in Model then that code will be automatically shared in all controlles.

Q. Among MOdel, View and Controller
  Which is most required ?
A. Controller...
   becuase
   a) there may be any website which don't require DATABASE.
   B) May be any website don't require any TEMPLATE, if website/webpage only want to say "HEllo" then there is no need of view.








